<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:77:"E:\web\project\baojia\wwwww\public/../application/admin\view\jishu\flist.html";i:1533568566;s:70:"E:\web\project\baojia\wwwww\application\admin\view\layout\default.html";i:1529292885;s:67:"E:\web\project\baojia\wwwww\application\admin\view\common\meta.html";i:1535990037;s:69:"E:\web\project\baojia\wwwww\application\admin\view\common\script.html";i:1533222223;}*/ ?>
<!DOCTYPE html>
<html lang="<?php echo $config['language']; ?>">
    <head>
        <meta charset="utf-8">
<title><?php echo (isset($title) && ($title !== '')?$title:''); ?></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<meta name="renderer" content="webkit">

<link rel="shortcut icon" href="/public/assets/img/favicon.ico" />
<!-- Loading Bootstrap -->
<link href="/public/assets/css/backend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.css?v=<?php echo \think\Config::get('site.version'); ?>" rel="stylesheet">
<link href="/public/assets/js/uploadify/uploadify.css" rel="stylesheet">

<!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
<!--[if lt IE 9]>
  <script src="/public/assets/js/html5shiv.js"></script>
  <script src="/public/assets/js/respond.min.js"></script>
<![endif]-->
<script type="text/javascript">
    var require = {
        config:  <?php echo json_encode($config); ?>
    };
</script>
<script src="/public/assets/libs/jquery/dist/jquery.min.js"></script>
<script src="/public/assets/js/uploadify/jquery.uploadify.min.js"></script>
    </head>

    <body class="inside-header inside-aside <?php echo defined('IS_DIALOG') && IS_DIALOG ? 'is-dialog' : ''; ?>">
        <div id="main" role="main">
            <div class="tab-content tab-addtabs">
                <div id="content">
                    <div class="row">
                        <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
                            <section class="content-header hide">
                                <h1>
                                    <?php echo __('Dashboard'); ?>
                                    <small><?php echo __('Control panel'); ?></small>
                                </h1>
                            </section>
                            <?php if(!IS_DIALOG && !$config['fastadmin']['multiplenav']): ?>
                            <!-- RIBBON -->
                            <div id="ribbon">
                                <ol class="breadcrumb pull-left">
                                    <li><a href="dashboard" class="addtabsit"><i class="fa fa-dashboard"></i> <?php echo __('Dashboard'); ?></a></li>
                                </ol>
                                <ol class="breadcrumb pull-right">
                                    <?php foreach($breadcrumb as $vo): ?>
                                    <li><a href="javascript:;" data-url="<?php echo $vo['url']; ?>"><?php echo $vo['title']; ?></a></li>
                                    <?php endforeach; ?>
                                </ol>
                            </div>
                            <!-- END RIBBON -->
                            <?php endif; ?>
                            <div class="content">
                                <div class="panel panel-default panel-intro">
    <div class="panel-heading">
        <?php echo build_heading(null, false); ?>
        <ul class="nav nav-tabs">
            <li class="active"><a href="#yi" data-toggle="tab">全部</a></li>
            <li><a href="#er" data-toggle="tab">系统服务范畴</a></li>
            <li><a href="#san" data-toggle="tab">单一服务范畴</a></li>
        </ul>
    </div>
    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="yi">
                <div class="widget-body no-padding">
                    <div class="bootstrap-table">
                        <div class="fixed-table-toolbar">
                            <div class="bs-bars pull-left">
                                <div id="toolbar" class="toolbar" style="position: relative;">
                                    <a href="javascript:;" class="btn btn-primary btn-refresh" title="刷新">
                                        <i class="fa fa-refresh"></i>
                                    </a>
                                    <a href="<?php echo url('Jishu/fedit'); ?>" class="btn btn-success btn-add" title="添加">
                                        <i class="fa fa-plus"></i>添加</a>
                                </div>
                            </div>
                            <div class="columns-right pull-right" style="margin-top:10px;margin-bottom:10px;">
                                <button class="btn btn-default" type="button" name="commonSearch" title="普通搜索">
                                    <i class="glyphicon glyphicon-search"></i>
                                </button>
                            </div>
                            <div class="pull-right search">
                                <input class="form-control" type="text" placeholder="搜索"></div>
                        </div>
                        <div class="panel-heading" style="background-color: #f2f2f2;">
                            <div class="panel-lead" style="text-align: center;"><h2>系统服务范涛</h2></div>    
                        </div>
                        <div class="fixed-table-container" style="padding-bottom: 0px;">
                            <div class="fixed-table-body">
                                <table id="table" class="table table-striped table-bordered table-hover" width="100%">
                                    <thead>
                                        <tr>
                                            <th style="text-align: center; vertical-align: middle; ">
                                                <div class="th-inner ">ID</div>
                                                <div class="fht-cell"></div>
                                            </th>
                                            <th style="text-align: center; vertical-align: middle; ">
                                                <div class="th-inner ">应用范畴名称</div>
                                                <div class="fht-cell"></div>
                                            </th>
                                            <th style="text-align: center; vertical-align: middle; ">
                                                <div class="th-inner ">应用版本支持</div>
                                                <div class="fht-cell"></div>
                                            </th>
                                            <th style="text-align: center; vertical-align: middle; ">
                                                <div class="th-inner ">操作</div>
                                                <div class="fht-cell"></div>
                                            </th>
                                         </tr>
                                    </thead>
                                    <tbody data-listidx="0">
                                      <?php if(is_array($list1) || $list1 instanceof \think\Collection || $list1 instanceof \think\Paginator): $i = 0; $__LIST__ = $list1;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                                      
                                        <tr data-index="<?php echo $key+1; ?>">
                                            <td style="text-align: center; vertical-align: middle;">
                                                <?php echo $key+1; ?>
                                            </td>
                                            <td style="text-align: center; vertical-align: middle;">
                                                <?php echo $vo['name']; ?>
                                            </td>
                                            <td style="text-align: center; vertical-align: middle;">
                                               <?php 

                                                 if(empty($vo['version_id'])){
                                                   echo "暂无";
                                                 }else{
                                                    $map['id']=array('in',$vo['version_id']);
                                                    $versions=db('app_version')->where($map)->select();
                                            

                                                    foreach($versions as $k=>$v){
                                                      if($k==0){
                                                        echo $v['name'];
                                                      }else{
                                                         echo ",".$v['name']; 
                                                      }
                                                      
                                                    }
                                                  }
                                                ?>  

                                            </td>
                                            <td style="text-align: center; vertical-align: middle;">
                                                <a href="javascript:;" class="btn btn-xs btn-success">
                                                    资费
                                                </a>
                                                 <a href="<?php echo url('Jishu/fedit',['id'=>$vo['id']]); ?>" class="btn btn-xs btn-success">
                                                    修改
                                                </a>
                                                <a href="<?php echo url('Jishu/fdelete',['id'=>$vo['id']]); ?>" class="btn btn-xs btn-danger">
                                                    删除
                                                </a>                                                
                                            </td>
                                        </tr>
                                      <?php endforeach; endif; else: echo "" ;endif; ?> 
                                    </tbody>
                                </table>
                            </div>
                            <div class="fixed-table-pagination" style="display: block;">
                               <?php echo $list1->render(); ?>
                            </div>
                        </div>
                        <div class="panel-heading" style="background-color: #f2f2f2;">
                            <div class="panel-lead" style="text-align: center;"><h2>单一服务范涛</h2></div>    
                        </div>
                        <div class="fixed-table-container" style="padding-bottom: 0px;">
                            <div class="fixed-table-body">
                                <table id="table" class="table table-striped table-bordered table-hover" width="100%">
                                    <thead>
                                        <tr>
                                            <th style="text-align: center; vertical-align: middle; ">
                                                <div class="th-inner ">ID</div>
                                                <div class="fht-cell"></div>
                                            </th>
                                            <th style="text-align: center; vertical-align: middle; ">
                                                <div class="th-inner ">应用范畴名称</div>
                                                <div class="fht-cell"></div>
                                            </th>
                                            <th style="text-align: center; vertical-align: middle; ">
                                                <div class="th-inner ">应用版本支持</div>
                                                <div class="fht-cell"></div>
                                            </th>
                                            <th style="text-align: center; vertical-align: middle; ">
                                                <div class="th-inner ">操作</div>
                                                <div class="fht-cell"></div>
                                            </th>
                                        </tr>
                                    </thead>
                                    <tbody data-listidx="0">
                                      <?php if(is_array($list2) || $list2 instanceof \think\Collection || $list2 instanceof \think\Paginator): $i = 0; $__LIST__ = $list2;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                                      
                                        <tr data-index="<?php echo $key; ?>">
                                            <td style="text-align: center; vertical-align: middle;">
                                                <?php echo $key; ?>
                                            </td>
                                            <td style="text-align: center; vertical-align: middle;">
                                                <?php echo $vo['name']; ?>
                                            </td>
                                            <td style="text-align: center; vertical-align: middle;">
                                               <?php 

                                                 if(empty($vo['version_id'])){
                                                   echo "暂无";
                                                 }else{
                                                    $map['id']=array('in',$vo['version_id']);
                                                    $versions=db('app_version')->where($map)->select();
                                            

                                                    foreach($versions as $k=>$v){
                                                      if($k==0){
                                                        echo $v['name'];
                                                      }else{
                                                         echo ",".$v['name']; 
                                                      }
                                                      
                                                    }
                                                  }
                                                ?>  

                                            </td>
                                            <td style="text-align: center; vertical-align: middle;">
                                                <a href="javascript:;" class="btn btn-xs btn-success">
                                                    资费
                                                </a>
                                                 <a href="<?php echo url('Jishu/fedit',['id'=>$vo['id']]); ?>" class="btn btn-xs btn-success">
                                                    修改
                                                </a>
                                                <a href="<?php echo url('Jishu/fdelete',['id'=>$vo['id']]); ?>" class="btn btn-xs btn-danger">
                                                    删除
                                                </a>                                                
                                            </td>
                                        </tr>
                                      <?php endforeach; endif; else: echo "" ;endif; ?> 
                                    </tbody>
                                </table>
                            </div>
                            <div class="fixed-table-pagination" style="display: block;">
                               <?php echo $list2->render(); ?>
                            </div>
                        </div>
                    </div>
                </div>
            </div>


            <div class="tab-pane fade" id="er">
                <div class="widget-body no-padding">
                    <div class="bootstrap-table">
                        <div class="fixed-table-toolbar">
                            <div class="bs-bars pull-left">
                                <div id="toolbar" class="toolbar" style="position: relative;">
                                    <a href="javascript:;" class="btn btn-primary btn-refresh" title="刷新">
                                        <i class="fa fa-refresh"></i>
                                    </a>
                                    <a href="javascript:;" class="btn btn-success btn-add" title="添加">
                                        <i class="fa fa-plus"></i>添加</a>
                                </div>
                            </div>
                            <div class="columns-right pull-right" style="margin-top:10px;margin-bottom:10px;">
                                <button class="btn btn-default" type="button" name="commonSearch" title="普通搜索">
                                    <i class="glyphicon glyphicon-search"></i>
                                </button>
                            </div>
                            <div class="pull-right search">
                                <input class="form-control" type="text" placeholder="搜索"></div>
                        </div>
                        <div class="fixed-table-container" style="padding-bottom: 0px;">
                            <div class="fixed-table-body">
                                <table id="table" class="table table-striped table-bordered table-hover" width="100%">
                                    <thead>
                                        <tr>
                                            <th style="text-align: center; vertical-align: middle; ">
                                                <div class="th-inner ">ID</div>
                                                <div class="fht-cell"></div>
                                            </th>
                                            <th style="text-align: center; vertical-align: middle; ">
                                                <div class="th-inner ">应用范畴名称</div>
                                                <div class="fht-cell"></div>
                                            </th>
                                            <th style="text-align: center; vertical-align: middle; ">
                                                <div class="th-inner ">应用版本支持</div>
                                                <div class="fht-cell"></div>
                                            </th>
                                            <th style="text-align: center; vertical-align: middle; ">
                                                <div class="th-inner ">操作</div>
                                                <div class="fht-cell"></div>
                                            </th>
                                        </tr>
                                    </thead>
                                    <tbody data-listidx="0">
                                       <?php if(is_array($list1) || $list1 instanceof \think\Collection || $list1 instanceof \think\Paginator): $i = 0; $__LIST__ = $list1;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                                      
                                        <tr data-index="<?php echo $key; ?>">
                                            <td style="text-align: center; vertical-align: middle;">
                                                <?php echo $key; ?>
                                            </td>
                                            <td style="text-align: center; vertical-align: middle;">
                                                <?php echo $vo['name']; ?>
                                            </td>
                                            <td style="text-align: center; vertical-align: middle;">
                                               <?php 

                                                 if(empty($vo['version_id'])){
                                                   echo "暂无";
                                                 }else{
                                                    $map['id']=array('in',$vo['version_id']);
                                                    $versions=db('app_version')->where($map)->select();
                                            

                                                    foreach($versions as $k=>$v){
                                                      if($k==0){
                                                        echo $v['name'];
                                                      }else{
                                                         echo ",".$v['name']; 
                                                      }
                                                      
                                                    }
                                                  }
                                                ?>  

                                            </td>
                                            <td style="text-align: center; vertical-align: middle;">
                                                <a href="javascript:;" class="btn btn-xs btn-success">
                                                    资费
                                                </a>
                                                 <a href="<?php echo url('Jishu/fedit',['id'=>$vo['id']]); ?>" class="btn btn-xs btn-success">
                                                    修改
                                                </a>
                                                <a href="<?php echo url('Jishu/fdelete',['id'=>$vo['id']]); ?>" class="btn btn-xs btn-danger">
                                                    删除
                                                </a>                                                
                                            </td>
                                        </tr>
                                      <?php endforeach; endif; else: echo "" ;endif; ?> 
                                    </tbody>
                                </table>
                            </div>
                            <div class="fixed-table-pagination" style="display: block;">
                               <?php echo $list1->render(); ?>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <div class="tab-pane fade" id="san">
                <div class="widget-body no-padding">
                    <div class="bootstrap-table">
                        <div class="fixed-table-toolbar">
                            <div class="bs-bars pull-left">
                                <div id="toolbar" class="toolbar" style="position: relative;">
                                    <a href="javascript:;" class="btn btn-primary btn-refresh" title="刷新">
                                        <i class="fa fa-refresh"></i>
                                    </a>
                                    <a href="javascript:;" class="btn btn-success btn-add" title="添加">
                                        <i class="fa fa-plus"></i>添加</a>
                                </div>
                            </div>
                            <div class="columns-right pull-right" style="margin-top:10px;margin-bottom:10px;">
                                <button class="btn btn-default" type="button" name="commonSearch" title="普通搜索">
                                    <i class="glyphicon glyphicon-search"></i>
                                </button>
                            </div>
                            <div class="pull-right search">
                                <input class="form-control" type="text" placeholder="搜索"></div>
                        </div>
                        <div class="fixed-table-container" style="padding-bottom: 0px;">
                            <div class="fixed-table-body">
                                <table id="table" class="table table-striped table-bordered table-hover" width="100%">
                                    <thead>
                                        <tr>
                                            <th style="text-align: center; vertical-align: middle; ">
                                                <div class="th-inner ">ID</div>
                                                <div class="fht-cell"></div>
                                            </th>
                                            <th style="text-align: center; vertical-align: middle; ">
                                                <div class="th-inner ">应用范畴名称</div>
                                                <div class="fht-cell"></div>
                                            </th>
                                            <th style="text-align: center; vertical-align: middle; ">
                                                <div class="th-inner ">应用版本支持</div>
                                                <div class="fht-cell"></div>
                                            </th>
                                            <th style="text-align: center; vertical-align: middle; ">
                                                <div class="th-inner ">操作</div>
                                                <div class="fht-cell"></div>
                                            </th>
                                        </tr>
                                    </thead>
                                    <tbody data-listidx="0">
                                         <?php if(is_array($list2) || $list2 instanceof \think\Collection || $list2 instanceof \think\Paginator): $i = 0; $__LIST__ = $list2;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                                      
                                        <tr data-index="<?php echo $key; ?>">
                                            <td style="text-align: center; vertical-align: middle;">
                                                <?php echo $key; ?>
                                            </td>
                                            <td style="text-align: center; vertical-align: middle;">
                                                <?php echo $vo['name']; ?>
                                            </td>
                                            <td style="text-align: center; vertical-align: middle;">
                                               <?php 

                                                 if(empty($vo['version_id'])){
                                                   echo "暂无";
                                                 }else{
                                                    $map['id']=array('in',$vo['version_id']);
                                                    $versions=db('app_version')->where($map)->select();
                                            

                                                    foreach($versions as $k=>$v){
                                                      if($k==0){
                                                        echo $v['name'];
                                                      }else{
                                                         echo ",".$v['name']; 
                                                      }
                                                      
                                                    }
                                                  }
                                                ?>  

                                            </td>
                                            <td style="text-align: center; vertical-align: middle;">
                                                <a href="javascript:;" class="btn btn-xs btn-success">
                                                    资费
                                                </a>
                                                 <a href="<?php echo url('Jishu/fedit',['id'=>$vo['id']]); ?>" class="btn btn-xs btn-success">
                                                    修改
                                                </a>
                                                <a href="<?php echo url('Jishu/fdelete',['id'=>$vo['id']]); ?>" class="btn btn-xs btn-danger">
                                                    删除
                                                </a>                                                
                                            </td>
                                        </tr>
                                      <?php endforeach; endif; else: echo "" ;endif; ?> 
                                    </tbody>
                                </table>
                            </div>
                            <div class="fixed-table-pagination" style="display: block;">
                                <?php echo $list2->render(); ?>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        
<script src="/public/assets/js/require<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.js" data-main="/public/assets/js/require-backend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.js?v=<?php echo $site['version']; ?>"></script>
    </body>
</html>